package cn.yi.springboot.druid.service;

import cn.yi.springboot.druid.dto.UserDTO;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

/**
 * @author: yiz
 * @date: 2018/8/1 16:35
 **/
public interface UserService {
    PageInfo<UserDTO> findByPage(Page page);

    void updateUser(UserDTO userDTO);

    void insertUser(UserDTO userDTO);
}
